# Copyright (c) 2019 Presto Labs Pte. Ltd.
# Author: leon

from coin.exchange.gopax.ws.subscriber import GopaxMultiSubscriberWrapper
from coin.strategy.mm.feed_builder import GopaxFlowBookBuilder
from coin.strategy.mm.base.feed import BaseFeedSubsystem
from coin.strategy.mm.subscription import SubscriptionRequest


class GopaxFeedSubsystem(BaseFeedSubsystem):
  FeedSubReq = SubscriptionRequest('Spot', 'Gopax', None)
  FeedSubscriber = GopaxMultiSubscriberWrapper
  FlowBookBuilder = GopaxFlowBookBuilder

  def _init_subscriber(self):
    return super()._init_subscriber(subscriber_group_id='TBD')
